package com.aos.erp.manager.model.dsc;

import java.io.Serializable;
import java.util.Date;

import com.aos.erp.manager.enums.DelStatus;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

@Data
@ApiModel("驾校合同")
@TableName("t_ds_contract")
public class DsContract implements Serializable {
	private static final long serialVersionUID = 1L;

    @ApiModelProperty(hidden = true, value = "合同ID")
    @TableId(value = "id", type = IdType.INPUT)
    private long id;


    @ApiModelProperty(hidden = true, value = "合同编号: HT+年月日时分秒+3位数字序号")
    @TableField("dsc_code")
    private String dscCode;


    @ApiModelProperty(hidden = true, value = "合同名称：100字符内")
    @TableField("dsc_name")
    private String dscName;


    @ApiModelProperty(hidden = true, value = "合同驾校ID")
    @TableField("dsc_ds_id")
    private long dscDsId;

    @ApiModelProperty(hidden = true, value = "合同驾校编号")
    @TableField("dsc_ds_code")
    private String dscDsCode;

    @ApiModelProperty(hidden = true, value = "合同驾校名称")
    @TableField("dsc_ds_name")
    private String dscDsName;


    @ApiModelProperty(hidden = true, value = "客户名称")
    @TableField("dsc_customer_name")
    private String dscCustomerName;


    @ApiModelProperty(hidden = true, value = "联系人")
    @TableField("dsc_contacts_name")
    private String dscContactsName;


    @ApiModelProperty(hidden = true, value = "联系电话")
    @TableField("dsc_contacts_phone")
    private String dscContactsPhone;


    @ApiModelProperty(hidden = true, value = "签订人")
    @TableField("dsc_sign_name")
    private String dscSignName;


    @ApiModelProperty(hidden = true, value = "签订时间")
    @TableField("dsc_sign_time")
    private Date dscSignTime;


    @ApiModelProperty(hidden = true, value = "合同开始时间")
    @TableField("dsc_begin_time")
    private Date dscBeginTime;


    @ApiModelProperty(hidden = true, value = "合同截止时间")
    @TableField("dsc_end_time")
    private Date dscEndTime;


    @ApiModelProperty(hidden = true, value = "是否删除： -1为删除；0为默认")
    @TableField("is_del")
    private DelStatus isDel = DelStatus.del_no;


    @ApiModelProperty(hidden = true, value = "创建人")
    @TableField("create_user")
    private String createUser;


    @ApiModelProperty(hidden = true, value = "创建时间")
    @TableField("create_time")
    private Date createTime;


    @ApiModelProperty(hidden = true, value = "修改人")
    @TableField("update_user")
    private String updateUser;


    @ApiModelProperty(hidden = true, value = "修改时间")
    @TableField("update_time")
    private Date updateTime;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getDscCode() {
        return dscCode;
    }

    public void setDscCode(String dscCode) {
        this.dscCode = dscCode;
    }

    public String getDscName() {
        return dscName;
    }

    public void setDscName(String dscName) {
        this.dscName = dscName;
    }

    public long getDscDsId() {
        return dscDsId;
    }

    public void setDscDsId(long dscDsId) {
        this.dscDsId = dscDsId;
    }

    public String getDscDsCode() {
        return dscDsCode;
    }

    public void setDscDsCode(String dscDsCode) {
        this.dscDsCode = dscDsCode;
    }

    public String getDscDsName() {
        return dscDsName;
    }

    public void setDscDsName(String dscDsName) {
        this.dscDsName = dscDsName;
    }

    public String getDscCustomerName() {
        return dscCustomerName;
    }

    public void setDscCustomerName(String dscCustomerName) {
        this.dscCustomerName = dscCustomerName;
    }

    public String getDscContactsName() {
        return dscContactsName;
    }

    public void setDscContactsName(String dscContactsName) {
        this.dscContactsName = dscContactsName;
    }

    public String getDscContactsPhone() {
        return dscContactsPhone;
    }

    public void setDscContactsPhone(String dscContactsPhone) {
        this.dscContactsPhone = dscContactsPhone;
    }

    public String getDscSignName() {
        return dscSignName;
    }

    public void setDscSignName(String dscSignName) {
        this.dscSignName = dscSignName;
    }

    public Date getDscSignTime() {
        return dscSignTime;
    }

    public void setDscSignTime(Date dscSignTime) {
        this.dscSignTime = dscSignTime;
    }

    public Date getDscBeginTime() {
        return dscBeginTime;
    }

    public void setDscBeginTime(Date dscBeginTime) {
        this.dscBeginTime = dscBeginTime;
    }

    public Date getDscEndTime() {
        return dscEndTime;
    }

    public void setDscEndTime(Date dscEndTime) {
        this.dscEndTime = dscEndTime;
    }

    public DelStatus getIsDel() {
        return isDel;
    }

    public void setIsDel(DelStatus isDel) {
        this.isDel = isDel;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
